<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="/WEB-INF/template.xhtml">

    <ui:define name="head">
        <style type="text/css">
            body .ui-staticmessage.ui-message {
                width: 100%;
            }
        </style>
    </ui:define>

    <ui:define name="title">
        StaticMessage
    </ui:define>

    <ui:define name="description">
        StaticMessage component can be used to display a message without the use of a FacesMessages.
    </ui:define>

    <ui:param name="documentationLink" value="/components/staticmessage" />

    <ui:define name="implementation">

        <div class="ui-g">
            <div class="ui-g-12 ui-md-3">
                <p:staticMessage severity="info" summary="INFO!" detail="Hey, i'm a info!" />
            </div>
            <div class="ui-g-12 ui-md-3">
                <p:staticMessage severity="warn" summary="WARN!" detail="Hey, i'm a warn!" />
            </div>
            <div class="ui-g-12 ui-md-3">
                <p:staticMessage severity="error" summary="ERROR!" detail="Hey, i'm a error" />
            </div>
            <div class="ui-g-12 ui-md-3">
                <p:staticMessage severity="fatal" summary="FATAL!" detail="Hey, i'm a fatal!" />
            </div>
        </div>

    </ui:define>

</ui:composition>